package com.zhuimeng.cusumer.bean;

import com.zhuimeng.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ConsumerComponent {

    @Reference
    private HelloService helloService;

    public String method1(){
        return helloService.method1();
    }

    public String method2(){
        return helloService.method2();
    }

    public String method3(){
        return helloService.method3();
    }

}
